package com.example.dao;

import com.example.entity.FoodsCategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FoodsCategoryDao {
    int addFoodsCategory(FoodsCategory category);

    int deleteFoodsCategory(Integer categoryId);

    int updateFoodsCategory(FoodsCategory category);

    FoodsCategory getFoodsCategoryById(Integer categoryId);

    List<FoodsCategory> getAllFoodsCategories();
}